<template>
  <common-crud ref="CommonCrudTest" :crudOptionProps="crudOptionProps"></common-crud>
</template>

<script>
import commonCrud from "@/components/commonCrud/CommonCrud.vue"

export default {
  name: "gTableInfo",
  components: {commonCrud},
  data() {
    return {
      // 表配置
      crudOptionProps: {
        name: 'gTableInfo/index',
        apiPrefix: '/gTableInfo',
        // 是否云原生
        functionTarget: 'gTableInfo',
        tableOption: {
          column: [
            {
              label: "id",
              prop: "id",
              search: false,
              required: false
            },


            {
              label: "表id",
              prop: "tableId",
              search: false,
              required: false
            },


            {
              label: "表名",
              prop: "tableName",
              search: false,
              required: false
            },


            {
              label: "字段名称",
              prop: "columnName",
              search: false,
              required: false
            },


            {
              label: "字段类型",
              prop: "columnType",
              search: false,
              required: false
            },


            {
              label: "字段注释",
              prop: "columnComment",
              search: false,
              required: false
            },


            {
              label: "属性名",
              prop: "attrName",
              search: false,
              required: false
            },


            {
              label: "属性类型",
              prop: "attrType",
              search: false,
              required: false
            },


            {
              label: "是否主键(0:是,1:否)",
              prop: "isPk",
              search: false,
              required: false
            },


            {
              label: "是否必填(0:是,1:否)",
              prop: "isRequired",
              search: false,
              required: false
            },


            {
              label: "页面类型(PAGE_TYPE)",
              prop: "pageType",
              search: false,
              required: false
            },


            {
              label: "字典type",
              prop: "dictType",
              search: false,
              required: false
            },


            {
              label: "是否为搜索项(0:是,1:否)",
              prop: "isSearch",
              search: false,
              required: false
            },


          ]
        },

      }

    }
  }, created() {

  }, computed() {

  }, methods: {}
}
</script>

<style scoped>

</style>
